extends SustainedSoundEmitter

func _physics_process(delta: float) -> void:
	super(delta)
	if Input.is_action_pressed("mouse_click"):
		position += velocity * delta
	if Input.is_action_just_pressed("mouse_click"):
		start_emit()
	if Input.is_action_just_released("mouse_click"):
		stop_emit()
	$GPUParticles3D.emitting = emitting
